package com.zd.kids.DataBean;

/**
 * @ClassName: com.zd.kids.DataBean
 * @Description:
 * @Author: hyy
 * @Date: 2020/6/14
 * @Time: 5:34 PM
 */
public class TrainTypeListDataBean {

    private int id;
    private int userid_id;
    private int unitid_id;
    private int typeid;
    private int complete;
    private String type_name;
    private int star;


    private int imgRes;

    public int getImgRes() {
        return imgRes;
    }

    public void setImgRes(int imgRes) {
        this.imgRes = imgRes;
    }


    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserid_id() {
        return userid_id;
    }

    public void setUserid_id(int userid_id) {
        this.userid_id = userid_id;
    }

    public int getUnitid_id() {
        return unitid_id;
    }

    public void setUnitid_id(int unitid_id) {
        this.unitid_id = unitid_id;
    }

    public int getTypeid() {
        return typeid;
    }

    public void setTypeid(int typeid) {
        this.typeid = typeid;
    }

    public boolean getComplete() {
        if(complete==1){
         return  true;
        }
        return false;
    }

    public void setComplete(int complete) {
        this.complete = complete;
    }

    public String getType_name() {
        return type_name;
    }

    public void setType_name(String type_name) {
        this.type_name = type_name;
    }

    public int getStar() {
        return star;
    }

    public void setStar(int star) {
        this.star = star;
    }
}
